@charset "UTF-8";
//    活动字体颜色 banner字体颜色 文章推荐字体颜色 文章分割线颜色 footer分割线颜色 footer字体颜色 详细容易页字体颜色
$color:#497285 #7e9095 #fb4b4b #c4c4c4 #333333 #cccccc #706a6a #f6f6f6 #fbfbfb;
$block:#000;
//mainnav&aticle banner     content/dataview   newest/rank        
$px:12px 11px 10px 14px 15px 16px 17px 13px;

%transtion {
    transition: all 0.3s ease;
}

/*===============定义变量scss表结束============================================*/

* {
    padding: 0;
    margin: 0;
    behavior: url(../PIE/PIE.htc);
}

li {
    list-style: none;
}

%line {
    text-decoration: none;
}

a {
    color: #000;
    &:link,
    &:visited {
        @extend %line;
    }
}

/*===========================初始化样式表=====================================*/

header {
    width: 1000px;
    height: 120px;
    margin: auto;
    overflow: hidden;
    padding: 0 1em 0 1em;
    box-sizing: border-box;
}

.mainnav {
    float: right;
    width: 100%;
    position: relative;
    .menu {
        display: block;
        position: absolute;
        width: 55px;
        height: 50px;
        right: 20px;
        top: 25px;
        background: nth($color, 8) url(../images/menu.png) no-repeat center;
        display: none;
    }
    .logo {
        float: left;
        width: 259px;
        height: 80px;
        margin-top: 20px;
        background: url(../images/logo.png) no-repeat;
        position: relative;
        .rotates {
            animation: rotates 5s linear infinite;
            -webkit-animation: rotates 5s linear infinite;
            -moz-animation: rotates 5s linear infinite;
            -ms-animation: rotates 5s linear infinite;
            -o-animation: rotates 5s linear infinite;
        }
    }
    ul {
        float: right;
        position: relative;
        line-height: 50px;
        margin-top: 50px;
        overflow: hidden;
        li {
            float: left;
            padding: {
                left: 30px;
                right: 30px;
            }
            a:hover {
                color: nth($color, 1)
            }
        }
        span {
            position: absolute;
            display: block;
            height: 5px;
            background: nth($color, 1);
            bottom: 0;
            transition: left 0.3s ease;
        }
    }
}

/*==================header结束==================*/

footer {
    display: block;
    background: #000;
    padding: 10px 0x 10px 0px;
    font-family: '微软雅黑';
    min-width: 1000px;
    overflow: hidden;
    .box {
        width: 1000px;
        margin: 10px auto;
        overflow: hidden;
        padding-top: 20px;
    }
    .links {
        width: 345px;
        float: left;
        /*border-right: 1px solid nth($color,5);*/
        box-sizing: border-box;
        dt {
            padding-left: 50px;
            color: nth($color, 6);
            line-height: 50px;
            position: relative;
            border-bottom: 1px solid nth($color, 5);
            i {
                display: inline-block;
                width: 30px;
                height: 30px;
                background: url(../images/BlogIco.png) no-repeat -8px -360px;
                position: absolute;
                top: 11px;
                left: 20px
            }
        }
        dd a {
            color: nth($color, 6);
            line-height: 25px;
            font-size: nth($px, 1);
            padding-left: 50px;
            &:hover {
                color: nth($color, 1)
            }
        }
    }
    .visitor {
        overflow: hidden;
        dt {
            color: nth($color, 6);
            line-height: 50px;
            border-bottom: 1px solid nth($color, 5);
            position: relative;
            padding-left: 30px;
            i {
                display: inline-block;
                width: 30px;
                height: 30px;
                background: url(../images/BlogIco.png) no-repeat -46px -322px;
                position: absolute;
                top: 15px;
                left: 0px;
            }
        }
        dd a {
            color: nth($color, 6);
            display: block;
            float: left;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: 2px solid #eee;
            margin: 5px;
            background: url(../images/avatar-links.jpg) no-repeat;
            background-size: cover;
            &:hover {
                border-color: nth($color, 1)
            }
        }
    }
    p {
        color: #fff;
        color: nth($color, 5);
        line-height: 50px;
        width: 1000px;
        margin: auto;
        text-align: left;
        font-size: nth($px, 1);
        border-top: 1px solid nth($color, 5)
    }
}

/*=======================footer结束==================================*/

//全站的响应式布局
.banner {
    width: 100%;
    min-width: 1000px;
}

//主页
.banner_index {
    @extend .banner;
    background: url(../images/index.jpg) top center;
}

//关于我banner
.banner_about {
    @extend .banner;
    background: url(../images/about.jpg) top center;
}

//内容页banner
.banner_content {
    @extend .banner;
    background: url(../images/cotent.jpg) top center;
}

//慢生活 newsbanner
.banner_news {
    @extend .banner;
    background: url(../images/news.jpg) top center;
}

//岁言碎语 newstalkbanner
.banner_newstalk {
    @extend .banner;
    background: url(../images/newstalk.jpg) top center;
}

//学无止尽 jsttbanner
.banner_jstt {
    @extend .banner;
    background: url(../images/jstt.jpg) top center;
}

//留言板msgboardbanner
.banner_msgboard {
    @extend .banner;
    background: url(../images/msgboader.jpg) top center;
}

/*=====================通用banner结束=========================*/

//首页banner
.obox {
    height: 300px;
    position: relative;
    width: 1000px;
    margin: auto;
    .texts {
        position: absolute;
        top: 63px;
        left: 73px;
        line-height: 25px;
        color: nth($color, 7);
        text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8), 2px 2px 3px rgba(180, 151, 151, 0.3);
        font-size: nth($px, 4);
        li:nth-child(1) {
            animation: animations 3s ease-out 1s both;
            -webkit-animation: animations 3s ease-out 1s both;
            -moz-animation: animations 3s ease-out 1s both;
            -ms-animation: animations 3s ease-out 1s both;
            -o-animation: animations 3s ease-out 1s both;
        }
        li:nth-child(2) {
            opacity: 0;
            animation: animations 3s ease-out 4s both;
            -webkit-animation: animations 3s ease-out 4s both;
            -moz-animation: animations 3s ease-out 4s both;
            -ms-animation: animations 3s ease-out 4s both;
            -o-animation: animations 3s ease-out 4s both
        }
        li:nth-child(3) {
            opacity: 0;
            transform: translateX(60px);
            animation: twinkle 5s ease-in-out 7s both;
            -webkit-animation: twinkle 5s ease-in-out 7s both;
            -moz-animation: twinkle 5s ease-in-out 7s both;
            -ms-animation: twinkle 5s ease-in-out 7s both;
            -o-animation: twinkle 5s ease-in-out 7s both;
        }
    }
    .avatar {
        overflow: hidden;
        position: absolute;
        top: 38px;
        right: 47px;
        width: 164px;
        height: 164px;
        border-radius: 50%;
        border: 5px solid #fff;
        behavior: url(../PIE/PIE.htc);
        z-index: 999;
        &:hover a {
            height: 60px;
        }
        a {
            position: absolute;
            bottom: 0;
            line-height: 60px;
            width: 100%;
            text-align: center;
            display: inline-block;
            background: rgba(0, 0, 0, 0.5);
            font-size: nth($px, 1);
            color: #fff;
            height: 0px;
            transition: height 0.3s ease;
            z-index: 998;
        }
    }
}

.box_index {
    .avatar {
        background: url(../images/avatar.jpg) no-repeat;
        background-size: cover;
    }
}

//关于我banner
.box_about {
    @extend .obox;
    .avatar {
        background: url(../images/avatar2.jpg) no-repeat;
        background-size: cover;
    }
}

//内容页banner
.box_content {
    @extend .obox;
    .avatar {
        background: url(../images/avatar3.jpg) no-repeat;
        background-size: cover;
    }
}

//慢生活 newsbanner
.box_news {
    @extend .obox;
    .avatar {
        background: url(../images/avatar4.jpg) no-repeat;
        background-size: cover;
    }
}

//岁言碎语 newstalkbanner
.box_newstalk {
    @extend .obox;
    .avatar {
        background: url(../images/avatar5.jpg) no-repeat;
        background-size: cover;
    }
}

//学无止尽 jsttbanner
.box_jstt {
    @extend .obox;
    .avatar {
        background: url(../images/avatar6.jpg) no-repeat;
        background-size: cover;
    }
}

//留言板msgboardbanner
.box_msgboard {
    @extend .obox;
    .avatar {
        background: url(../images/avatar7.jpg) no-repeat;
        background-size: cover;
    }
}

/*====================index.html-banner结束========================*/

//文章样式
article {
    display: block;
    width: 1000px;
    margin: auto;
    overflow: hidden;
    box-sizing: border-box;
    .current {
        background: url(../images/sy2.png) repeat-x bottom;
        font-size: nth($px, 1);
        line-height: 80px;
        color: nth($color, 4);
        padding-left: 30px;
        position: relative;
        position: relative;
        i {
            display: inline-block;
            width: 22px;
            height: 22px;
            position: absolute;
            top: 50%;
            margin-top: -12px;
            left: 0;
            background: url(../images/BlogIco.png);
            background-repeat: no-repeat;
            background-position: -9px -48px;
        }
        a {
            color: nth($color, 1);
        }
        span {
            float: right;
        }
    }
}

/*==============================通用样式路径=========================*/

//left样式-通用left样式
.left {
    width: 700px;
    float: left;
    border-right: 1px solid nth($color, 4);
    box-sizing: border-box;
    padding: 15px 10px 10px 0px;
    transition: all 0.3s ease;
    .title_tj {
        font-size: nth($px, 6);
        position: relative;
        overflow: hidden;
        height: 50px;
        p {
            width: 70px;
            line-height: 50px;
            background: #fff;
            text-align: center;
            margin-left: 20px;
            font-size: nth($px, 6);
        }
        span {
            color: nth($color, 3);
            font-size: nth($px, 6);
        }
        .line {
            width: 100%;
            top: 50%;
            position: absolute;
            background: nth($color, 4);
            height: 1px;
            z-index: -1;
        }
    }
}


/*====================通用left样式===========================*/

//主页推荐文章列表
.newslist {
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 50px;
    .dataview {
        line-height: 35px;
        margin-top: 15px;
        background: #f6f6f6;
        padding-left: 18px;
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 100%;
        .time {
            position: relative;
            i {
                display: inline-block;
                width: 22px;
                height: 22px;
                background: url(../images/BlogIco.png) -47px -131px;
                position: absolute;
                bottom: -6px;
                left: 5px;
            }
        }
        .auther {
            position: relative;
            i {
                display: inline-block;
                width: 22px;
                height: 22px;
                background: url(../images/BlogIco.png) no-repeat -10px -320px;
                position: absolute;
                bottom: -5px;
                left: 5px;
            }
        }
        span {
            padding-right: 30px;
            padding-left: 30px
        }
        a:hover {
            color: nth($color, 3)
        }
    }
    h3 {
        line-height: 40px;
        font-size: nth($px, 6);
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }
    figure {
        float: left;
        border: 1px solid #efeeee;
        border-radius: 5px;
        margin: 0px 5px 5px 0px;
        padding: 5px;
        .box {
            width: 177px;
            height: auto;
            max-height: 150px;
            overflow: hidden;
        }
        img {
            max-width: 177px;
        }
    }
    p {
        font-size: nth($px, 1);
        color: nth($color, 7);
        line-height: 2em;
        /*overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;*/
        margin-bottom: 1em;
    }
    a.btn {
        float: right;
        font-size: nth($px, 1);
        background: nth($color, 1);
        line-height: 40px;
        margin-right: 20px;
        padding: {
            left: 20px;
            right: 20px;
        }
        &:hover {
            color: #fff;
        }
    }
}

/*==================index.html==============================*/

//left-关于我（about）样式内容样式
.about {
    padding-bottom: 30px;
    color: nth($color, 7); //old
    /*&>p{line-height: 25px;color: nth($color,2);font-size: nth($px,1);text-indent: 2em;margin: 15px 0px 15px 0px ;}
    h1{line-height: 25px;color: nth($color,2);font-size: nth($px,1);text-indent: 2em;margin: 15px 0px 15px 0px ;font-weight: normal;font-size: nth($px,5);}*/
    hr {
        height: 1px;
        border: none;
        border-top: 1px solid nth($color, 6);
        margin: 30px 0 30px 0
    }
    %lh {
        line-height: 30px;
        font-size: nth($px, 3)
    }
    %h1 {
        font-size: 25px;
        color: nth($color, 1)
    }
    %h2 {
        line-height: 40px;
        font-size: nth($px, 7);
        color: nth($color, 1)
    }
    %h3 {
        line-height: 30px;
        font-size: nth($px, 5)
    }
    table {
        width: 100%;
        border-collapse: collapse;
    }
    h2 {
        background: url(../images/title.jpg)no-repeat center left;
        padding-left: 15px;
        color: nth($color, 1)
    }
    .basic {
        img {
            border-radius: 50%;
            width: 130px;
            display: block;
            height: 130px;
            margin: auto;
            padding: 5px;
            border: 1px solid nth($color, 4);
            @extend %transtion;
            &:hover {
                transform: scale(1.2)
            }
        }
        h1 {
            text-align: center;
            @extend %h1;
            margin-top: 15px;
        }
        p {
            text-align: center;
            @extend %lh;
        }
        p:first-of-type {
            font-size: nth($px, 4)
        }
        p:last-of-type {
            color: nth($color, 7)
        }
    }
    .inter {
        img {
            width: 130px;
            height: 130px;
        }
        h2 {
            @extend %h2;
        }
        h3 {
            @extend %h3;
        }
        td {
            border: 1px dashed #eee;
            @extend %lh;
        }
        tr:last-of-type {
            color: nth($color, 7)
        }
        p:first-of-type {
            margin-top: 10px;
        }
        p:last-of-type {
            margin-bottom: 10px;
        }
        p {
            @extend %lh;
        }
    }
    .edu {
        h2 {
            @extend %h2;
        }
        h3 {
            @extend %h3;
        }
        td {
            border: 1px dashed #eee;
            @extend %lh;
        }
        tr:nth-child(2) {
            color: nth($color, 7)
        }
    }
    .skill {
        h2 {
            @extend %h2;
        }
        ul > li {
            @extend %lh;
            background: url(../images/li.png)no-repeat center left;
            padding-left: 25px;
            @extend %transtion;
            &:hover {
                color: nth($color, 3);
                padding-left: 30px;
            }
        }
    }
    .project {
        h2 {
            @extend %h2;
        }
        p {
            @extend %lh
        }
        p:first-of-type {
            margin-top: 10px;
        }
        p:nth-of-type(3) {
            margin-top: 10px;
        }
        p:nth-of-type(2) {
            margin-bottom: 10px;
        }
        td {
            border: 1px dashed #eee;
            @extend %lh;
        }
        tr:last-of-type {
            color: nth($color, 7)
        }
    }
    .describe {
        h2 {
            @extend %h2;
        }
        ul > li {
            @extend %lh;
            @extend %lh;
            background: url(../images/li.png)no-repeat center left;
            padding-left: 25px;
            @extend %transtion;
            &:hover {
                color: nth($color, 3);
                padding-left: 30px;
            }
        }
    }
    .eva {
        h2 {
            @extend %h2;
        }
        td {
            @extend %lh
        }
        tr > td:last-child {
            text-align: center;
        }
        .outside {
            width: 100%;
            height: 10px;
            border: 1px solid #eee;
            border-radius: 5px;
            overflow: hidden;
        }
        .inside {
            height: 10px;
            background: nth($color, 1);
            border-radius: 5px;
        }
        tr:nth-child(1) .inside {
            width: 80%;
        }
        tr:nth-child(2) .inside {
            width: 80%;
        }
        tr:nth-child(3) .inside {
            width: 60%;
        }
        tr:nth-child(4) .inside {
            width: 70%;
        }
    }

}


//文章详细内容页content
.cont {
    h1 {
        font-size: nth($px, 7);
        line-height: 4em;
        height: 100px;
        display: table-cell;
        vertical-align: middle;
        width: 700px;
        text-align: center;
    }
    .datashow {
        text-align: center;
        font-size: nth($px, 1);
        border: 1px dashed nth($color, 4);
        color: nth($color, 4);
        line-height: 25px;
        a {
            color: nth($color, 1);
        }
        span {
            padding: 0px 5px 0px 5px;
        }
    }
    ul p {
        color: nth($color, 7);
        font-size: nth($px, 4);
        line-height: 30px;
        text-indent: 2em;
        padding-top: 10px;
    }
    .keyword {
        line-height: 30px;
        background: nth($color, 8);
        font-size: nth($px, 1);
        color: nth($color, 1);
        background: #eee;
        margin: 10px 0px 10px 0px;
        position: relative;
        padding-left: 40px;
        i {
            display: inline-block;
            width: 26px;
            height: 22px;
            background: url(../images/BlogIco.png) -45px -322px;
            position: absolute;
            top: 5px;
            left: 5px;
        }
        a {
            color: nth($color, 7)
        }
    }
    .back {
        color: nth($color, 1);
        font-size: nth($px, 1);
        line-height: 30px;
        a {
            color: nth($color, 7)
        }
    }
    .next {
        @extend .back;
        text-align: right;
    }
}

//文章评论页
.comment {
    width: 100%;
    .iscomment {
        & > p {
            line-height: 25px;
            font-size: nth($px, 1);
            background: nth($color, 8);
            padding-left: 10px;
        }
    }
    h1 {
        line-height: 20px;
        font-weight: normal;
        background: nth($color, 8);
        padding: 5px;
        margin-top: 10px;
    }
    .t_left {
        font-size: nth($px, 1);
        line-height: 25px;
        a {
            color: nth($color, 1);
        }
    }
    .t_right {
        @extend .t_right;
        float: right;
        a {
            font-size: nth($px, 1);
            padding-left: 10px;
            color: nth($color, 1);
        }
    }
    .box_com {
        box-sizing: border-box;
        padding: 10px 10px 30px 10px;
        overflow: hidden;
        border: 1px solid nth($color, 8);
        margin-top: 10px;
        position: relative;
        .time {
            position: relative;
            i {
                display: inline-block;
                width: 22px;
                height: 22px;
                background: url(../images/BlogIco.png) -47px -129px;
                position: absolute;
                left: -20px;
            }
        }
        .avartar {
            width: 60px;
            height: 60px;
            background: url(../images/avatar.jpg);
            background-size: cover;
            padding: 5px;
            float: left;
            margin: 0px 15px 5px 0px;
        }
        .name {
            overflow: hidden;
            font-size: nth($px, 4);
            color: nth($color, 1);
            line-height: 25px;
        }
        .com_content {
            @extend .name;
            font-size: nth($px, 1)
        }
        .dataview {
            @extend .name;
            color: nth($color, 7);
            background: nth($color, 9);
            font-size: nth($px, 1);
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding-left: 30px;
            font-family: '微软雅黑';
            a,
            span {
                padding: 0px 5px 0px 5px;
                color: nth($color, 1)
            }
        }
    }
    .page {
        line-height: 50px;
        text-align: right;
        border-bottom: 1px solid nth($color, 4);
        a {
            padding: {
                left: 10px;
                right: 10px;
            }
        }
    }
    .login_title {
        font-size: nth($px, 4);
        color: nth($color, 1);
        line-height: 50px;
        .weixin {
            background: url(../images/weixin.jpg) left center no-repeat;
            padding-left: 30px;
        }
        .sina {
            @extend .weixin;
            background: url(../images/sina.jpg) left center no-repeat;
        }
        .qq {
            @extend .weixin;
            background: url(../images/QQ.jpg) left center no-repeat;
        }
        .more {
            @extend.weixin;
            background: none;
        }
    }
    .box_cont {
        min-height: 150px;
        width: 100%;
        border: 1px solid nth($color, 4);
        position: relative;
        textarea {
            height: 120px;
            border: none;
            width: 100%;
            box-sizing: border-box;
            padding: 10px;
            line-height: 25px;
            z-index: 2em;
            resize: none;
        }
        textarea:focus {
            box-shadow: 0px 0px 6px nth($color, 1), 0px 0px 6px nth($color, 1) inset;
            outline: none;
            color: nth($color, 7)
        }
        .box_bottom {
            position: absolute;
            right: 0;
            bottom: 0;
            width: 100%;
            line-height: 30px;
            background: #f9f9f9 url(../images/smile.jpg) left 10px center no-repeat;
            .btn {
                font-size: nth($px, 1);
                padding: {
                    left: 10px;
                    right: 10px;
                }
                ;
                background: #eeeeee;
                float: right;
                &:hover {
                    color: nth($color, 1)
                }
            }
        }
    }
}


//留言板
.left {
    .msg {
        padding-left: 5px;
        padding-right: 5px;
        padding-bottom: 30px;
        h1 {
            text-align: center;
            line-height: 70px;
            color: nth($color, 1);
            font-size: nth($px, 4);
            font-weight: bold;
        }
        img {
            max-width: 99%;
            padding: 5px;
            box-shadow: 0 0 6px nth($color, 1);
            border-radius: 5px;
        }

    }
}



//岁言碎语内容页
.moodlist {
    width: 100%;
    .arr_box {
        box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
        box-sizing: border-box;
        padding: 10px;
        margin: 40px auto;
        border-radius: 5px;
        overflow: hidden;
        background: nth($color, 8);
        position: relative;
        padding-bottom: 50px;
        width: 96%;
        img {
            width: 13em;
            padding: 5px;
            border: 1px solid #eee;
        }
        figure {
            float: left;
            margin-right: 10px;
            border-radius: 5px;
            overflow: hidden;
        }
        p {
            font-size: nth($px, 4);
            color: nth($color, 7);
            line-height: 2.0em;
            span {
                color: nth($color, 3);
                font-size: 25px;
            }
        }
        .dataview {
            background: #eee;
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            text-align: right;
            font-size: nth($px, 1);
            color: nth($color, 7);
            font-family: 'Microsoft YaHei';
            a {
                padding-right: 3em;
                color: nth($color, 7);
                line-height: 40px;
                height: 40px;
                display: inline-block;
                position: relative;
                i {
                    display: inline-block;
                    width: 22px;
                    height: 22px;
                    position: absolute;
                    bottom: 9px;
                    left: -25px;
                    transition: all .3s ease;
                }
            }
            .time i {
                background: url(../images/BlogIco.png) -47px -131px;
            }
            .very i {
                background: url(../images/BlogIco.png) -47px -244px;
                &:hover {
                    background: url(../images/BlogIco.png) -11px -244px;
                }
            }
            .novery i {
                background: url(../images/BlogIco.png) -11px -244px;
            }
            span {
                @extend a;
            }
        }
    }
}

//右边简单样式
.right {
    overflow: hidden;
    width: 300px;
    float: right;
    animation: right 1s ease forwards;
}

.left {
    animation: left 1s ease forwards;
}

//自我介绍
.sug {
    padding-left: 10px;
    & > img {
        border-radius: 50%;
        width: 140px;
        margin-top: 10px;
        box-shadow: 0 0 6px nth($color, 1)
    }
    .abt {
        position: relative;
        &:hover p.motto {
            bottom: 0;
            left: 0;
            margin-bottom: 5px;
        }
        p.motto {
            line-height: 25px;
            text-indent: 2em;
            color: nth($color, 1);
            background: rgba(255, 255, 255, 0.8);
            padding: 5px;
            box-sizing: border-box;
            position: absolute;
            max-width: 98%;
            bottom: -230px;
            height: 230px;
            @extend %transtion;
            font-size: nth($px, 4);
        }
        img {
            margin-top: 20px;
            padding: 5px;
            border: 1px solid #eee;
            box-sizing: border-box;
            max-width: 98%;
            border-radius: 5px;
            box-shadow: 0 0 6px nth($color, 1)
        }
    }
    h1 {
        font-size: nth($px, 7);
        background: url(../images/title.jpg)no-repeat center left;
        padding-left: 15px;
        border-bottom: 1px solid nth($color, 4);
        line-height: 40px;
    }
    ul li {
        line-height: 30px;
        font-size: nth($px, 1);
        color: nth($color, 7);
        a {
            color: nth($color, 1);
        }
    }
}

//右边最新文章推荐列表
.newest {
    box-sizing: border-box;
    padding: 0px 10px 10px 10px;
    dt {
        font-size: 16px;
        border-bottom: 1px solid nth($color, 4);
        i {
            float: left;
            width: 22px;
            height: 22px;
            margin-top: 10px;
            margin-right: 15px;
            background: url(../images/BlogIco.png) -9px -207px;
        }
        span {
            color: nth($color, 3);
            line-height: 40px;
        }
    }
    dd {
        font-size: nth($px, 1);
        color: nth($color, 7);
        line-height: 25px;
        a {
            color: nth($color, 7);
            &:hover {
                color: nth($color, 3);
                text-decoration: underline
            }
        }
    }
}

//最热文章推荐列表
.rank {
    box-sizing: border-box;
    padding: 0px 10px 10px 10px;
    dt {
        font-size: 16px;
        border-bottom: 1px solid nth($color, 4);
        i {
            float: left;
            width: 22px;
            height: 22px;
            margin-top: 10px;
            margin-right: 15px;
            background: url(../images/BlogIco.png) -9px -207px;
        }
        span {
            color: nth($color, 3);
            line-height: 40px;
        }
    }
    dd {
        font-size: nth($px, 1);
        color: nth($color, 7);
        line-height: 25px;
        .r1 {
            color: nth($color, 3)
        }
        a {
            color: nth($color, 7);
            &:hover {
                color: nth($color, 3);
                text-decoration: underline
            }
        }
    }
}

/*=====================右边样式==============================*/

/*=====================响应式布局=========================*/

@media only screen and(max-width:600px) {
    .rotates {
        animation: rotates 4s infinite;
        transform-origin: center;
    }
    header {
        width: 100%;
        height: auto;
        background: nth($color, 8);
        .mainnav {
            .menu {
                display: block;
            }
            .navbar {
                display: none;
            }
        }
        #subnav {
            display: none;
            background: nth($color, 8);
            float: none;
            margin-top: 120px;
            li {
                float: none;
                text-align: center center;
                width: 100%;
                line-height: 40px;
                padding-left: 0px;
                border-bottom: 1px solid nth($color, 6);
                text-align: center;
                &:hover {
                    background: #f1f2eb
                }
            }
        }
    }
    .banner {
        display: none;
    }
    article {
        width: 100%;
        padding-left: 0.5em;
        .arr_box img {
            max-width: 7em;
        }
        .current span {
            display: none;
        }
        .newslist ul {
            min-height: auto;
            p {
                overflow: hidden;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-line-clamp: 3;
                -webkit-box-orient: vertical;
            }
        }
        .left {
            width: 100%;
            border: none;
            padding-right: 0.5em;
            .edu img {
                width: 80%;
                display: block;
                margin: auto;
            }
            .btn {
                border-radius: 5px;
                padding-left: 10px;
                padding-right: 10px;
            }
            figure {
                max-width: 7em;
                height: auto;
                img {
                    max-width: 7em;
                }
            }

            .dataview {
                padding-left: 0.2em;
                span {
                    padding-right: 0.2em
                }
            }
        }
        .right {
            display: none;
        }
    }
    footer {
        min-width: 0;
        .box {
            width: 100%;
        }
        .visitor {
            display: none;
        }
        .links {
            border: none;
        }
    }
}

/*动画特效
*/

@-o-keyframes animations {
    0% {
        -o-transform: translate(0);
        opacity: 0;
    }
    50% {
        -o-transform: translate(30px);
        opacity: .5;
    }
    100% {
        -o-transform: translate(60px);
        opacity: 1;
    }
}

@-webkit-keyframes animations {
    0% {
        -webkit-transform: translate(0);
        opacity: 0;
    }
    50% {
        -webkit-transform: translate(30px);
        opacity: .5;
    }
    100% {
        -webkit-transform: translate(60px);
        opacity: 1;
    }
}

@keyframes animations {
    0% {
        -webkit-transform: translate(0);
        opacity: 0;
    }
    50% {
        -webkit-transform: translate(30px);
        opacity: .5;
    }
    100% {
        -webkit-transform: translate(60px);
        opacity: 1;
    }
}

//banner动画
@keyframes twinkle {
    0% {
        opacity: 0;
    }
    40% {
        opacity: .8;
    }
    45% {
        opacity: .3;
    }
    50% {
        opacity: .8;
    }
    55% {
        opacity: .3;
    }
    60% {
        opacity: .8;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes twinkle {
    0% {
        opacity: 0;
    }
    40% {
        opacity: .8;
    }
    45% {
        opacity: .3;
    }
    50% {
        opacity: .8;
    }
    55% {
        opacity: .3;
    }
    60% {
        opacity: .8;
    }
    100% {
        opacity: 1;
    }
}

@-moz-keyframes twinkle {
    0% {
        opacity: 0;
    }
    40% {
        opacity: .8;
    }
    45% {
        opacity: .3;
    }
    50% {
        opacity: .8;
    }
    55% {
        opacity: .3;
    }
    60% {
        opacity: .8;
    }
    100% {
        opacity: 1;
    }
}

@-ms-keyframes twinkle {
    0% {
        opacity: 0;
    }
    40% {
        opacity: .8;
    }
    45% {
        opacity: .3;
    }
    50% {
        opacity: .8;
    }
    55% {
        opacity: .3;
    }
    60% {
        opacity: .8;
    }
    100% {
        opacity: 1;
    }
}

@-o-keyframes twinkle {
    0% {
        opacity: 0;
    }
    40% {
        opacity: .8;
    }
    45% {
        opacity: .3;
    }
    50% {
        opacity: .8;
    }
    55% {
        opacity: .3;
    }
    60% {
        opacity: .8;
    }
    100% {
        opacity: 1;
    }
}

//logo旋转
@keyframes rotates {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes rotates {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes rotates {
    0% {
        -moz-transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-ms-keyframes rotates {
    0% {
        -ms-transform: rotate(0deg);
    }
    100% {
        -ms-transform: rotate(360deg);
    }
}

@-o-keyframes rotates {
    0% {
        -o-transform: rotate(0deg);
    }
    100% {
        -o-transform: rotate(360deg);
    }
}

@keyframes right {
    0% {
        opacity: 0;
        transform: translateX(450px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@-webkit-keyframes right {
    0% {
        opacity: 0;
        -webkit-transform: translateX(450px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
    }
}

@-moz-keyframes right {
    0% {
        opacity: 0;
        -moz-transform: translateX(450px);
    }
    100% {
        opacity: 1;
        -moz-transform: translateX(0);
    }
}

@-o-keyframes right {
    0% {
        opacity: 0;
        -o-transform: translateX(450px);
    }
    100% {
        opacity: 1;
        -o-transform: translateX(0px);
    }
}

@keyframes left {
    0% {
        opacity: 0;
        transform: translateX(-450px);
    }
    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}

@-webkit-keyframes left {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-450px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0px);
    }
}

@-moz-keyframes left {
    0% {
        opacity: 0;
        -moz-transform: translateX(-450px);
    }
    100% {
        opacity: 1;
        -moz-transform: translateX(0px);
    }
}

@-o-keyframes left {
    0% {
        opacity: 0;
        -o-transform: translateX(-450px);
    }
    100% {
        opacity: 1;
        -o-transform: translateX(0px);
    }
}
